package com.hhe.datax_transfer.model;

import com.hhe.datax_transfer.utils.validation.groups.UpdateGroups;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 迁移信息Model
 *
 * @author HHe
 * @version V1.0
 * @date 2021/1/8 17:33
 */
@Getter
@Setter
public class TransferDataModel implements Serializable {
    /**
     * 全路径名
     */
    @NotBlank(message = "全路径名不能为空", groups = {UpdateGroups.class})
    private String fullPathName;

    /**
     * 备注
     */
    private String remarks;
}
